package com.csc.dao;

import java.util.List;

import com.csc.domain.TransactionHistory;

public interface SystemTransactionHistoryDAO {
	public List<TransactionHistory> getListTransactionRequestByAccount();

	public List<TransactionHistory> searchAccountRequestTransactionByName(
			String name);

	public List<TransactionHistory> searchAccountRequestTransactionAdvance(
			String accImpact, String accAffected, String fromDate,
			String toDate, String role, String status);

	public List<TransactionHistory> getListTransactionRequestByAdminReport();

	public List<TransactionHistory> viewReportActionBySearchUsingUserName(
			String name);

	public List<TransactionHistory> viewReportActionByAdvanceSearch(
			String accImpact, String accAffected, String fromDate,
			String toDate, String role, String status);

	public List<TransactionHistory> getAllInboxUser(String username);

	public List<TransactionHistory> searchInboxUserBySender(String sendername,
			String affectedname);

	public List<TransactionHistory> searchInboxUserAdvanced(String affectednam,
			String subject, String fromDate, String toDate);

	// Truong Le Bao
	public boolean requestResetPassword(String username, String date,
			String reason);

	// Truong Le Bao
	public List<TransactionHistory> getListNewTransactionReset();

	// Truong Le Bao
	public List<TransactionHistory> getListNewTransactionUpdate();
	
	// Nguyen Vu Hung
	public List<TransactionHistory> getListRequestUser(String username);
}
